import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
import axios from 'axios'
// a.1 引入element-ui模块
import ElementUI from 'element-ui';
// a.2 引入element-ui css 样式
import 'element-ui/lib/theme-chalk/index.css';
// a.4  引入axios
import axios from 'axios';
Vue.prototype.$axios = axios;
// a.5引入less
import less from 'less';


// 引入echarts
import echarts from 'echarts'
Vue.prototype.$echarts = echarts


// a.3 在Vue中注册使用 ElementUI 模块
Vue.use(ElementUI); 
// a.6在vue中使用less模块
Vue.use(less)
Vue.config.productionTip = false
Vue.prototype.$axios = axios;

new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
